package com.kymatrix.mpo.plus.bpm.server.model.enums.definition;

import com.kymatrix.mpo.plus.common.business.common.BaseBusinessEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * BPM 模型的表单类型的枚举
 */
@Getter
@AllArgsConstructor
public enum BpmModelFormTypeEnum implements BaseBusinessEnum {

    NORMAL("10", "流程表单"), // 对应 BpmFormDO
    CUSTOM("20", "业务表单") // 业务自己定义的表单，自己进行数据的存储
    ;

    private final String code;
    private final String name;


    @Override
    public String getSysConfigGroupName() {
        return BaseBusinessEnum.SysConfigGroupName.BPM_MODEL_FORM_TYPE;
    }

}
